package cn.lj;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @file:
 * @version:
 * @Description: 创建一个Initializer类继承自SpringBootServletInitializer，并重写configure方法。且这个类应该与项目的Application在同一级目录下
 * @author: 李津
 * @date: 2021-04-24 20:48
 * 本代码要注意的事项、备注事项等
 */


public class SpringBootStartApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(FinanceApplication.class);
    }
}
